package com.yami.shop.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yami.shop.bean.model.UserBlock;
import com.yami.shop.bean.vo.UserVO;
import com.yami.shop.common.util.PageParam;

import java.util.Map;

public interface UserBlockService extends IService<UserBlock> {

    IPage<UserVO> page(PageParam<UserVO> page, String userId);


    Map<String, Boolean> isBlock(String userId, String blockUserId);


    void addOrDel(String userId, UserBlock userBlock);
    
}
